import { createRouter, createWebHistory } from 'vue-router'


const router = createRouter({
  history: createWebHistory(),
  mode: 'history',
  routes: [
    {
      path: '/family-salary',
      name: 'FamilySalary',
      component: () => import('@/views/FamilySalary/index.vue'),
      meta: {
        title: '家族工资'
      }
    },
    {
      path: '/upgrade-details',
      name: 'UpgradeDetails',
      component: () => import('@/views/UpgradeDetails/index.vue'),
      meta: {
        title: '升级详情'
      }
    },
    {
      path: '/income-details',
      name: 'IncomeDetails',
      component: () => import('@/views/IncomeDetails/index.vue'),
      meta: {
        title: '收益明细'
      }
    },
    {
      path: '/live-data',
      name: 'LiveData',
      component: () => import('@/views/LiveData/index.vue'),
      meta: {
        title: '直播数据'
      }
    },
    {
      path: '/agency-center',
      name: 'AgencyCenter',
      component: () => import('@/views/AgencyCenter/index.vue'),
      meta: {
        title: '代理中心'
      }
    },
    {
      path: '/purchase-details',
      name: 'PurchaseDetails',
      component: () => import('@/views/PurchaseDetails/index.vue'),
      meta: {
        title: '购买明细'
      }
    },
    {
      path: '/user-manage',
      name: 'UserManage',
      component: () => import('@/views/UserManage/index.vue'),
      meta: {
        title: '用户管理'
      }
    },
    {
      path: '/expert-certification',
      name: 'ExpertCertification',
      component: () => import('@/views/ExpertCertification/index.vue'),
      meta: {
        title: '达人认证'
      }
    },
    {
      path: '/moc-certification',
      name: 'MocCertification',
      component: () => import('@/views/MocCertification/index.vue'),
      meta: {
        title: '司仪认证'
      }
    },
    {
      path: '/open-close-friend',
      name: 'OpenCloseFriend',
      component: () => import('@/views/OpenCloseFriend/index.vue'),
      meta: {
        title: '开通密友'
      }
    },
    {
      path: '/obtain',
      name: 'Obtain',
      component: () => import('@/views/Obtain/index.vue'),
      meta: {
        title: '恭喜获得'
      }
    },
    {
      path: '/obtain-two',
      name: 'ObtainTwo',
      component: () => import('@/views/ObtainTwo/index.vue'),
      meta: {
        title: '恭喜获得版本2'
      }
    },
    {
      path: '/member-center',
      name: 'MemberCenter',
      component: () => import('@/views/MemberCenter/index.vue'),
      meta: {
        title: '会员中心'
      }
    },
    {
      path: '/apply-for',
      name: 'ApplyFor',
      component: () => import('@/views/ApplyFor/index.vue'),
      meta: {
        title: '密友申请'
      }
    },
    {
      path: '/container',
      name: 'Container',
      component: () => import('@/views/Container/index.vue'),
      meta: {
        title: '容器4324'
      }
    },
    {
      path: '/task-center',
      name: 'TaskCenter',
      component: () => import('@/views/TaskCenter/index.vue'),
      meta: {
        title: '任务活动'
      }
    },
  ]
})

export default router
